-
Home
-
Simple Newsletter Plugin – Noptin
-
4.0.8
-
Code
-
Classes
- Automation_Rule
| Total Complexity |
89 |
| Dependencies |
7 |
| Dependents |
5 |
| Total lines |
639 |
| Lines of code |
330 |
| Logical lines of code |
152 |
| Comment lines |
215 |
| Methods |
35 |
| Properties |
1 |
Methods 35
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| get_data() |
B |
32 |
13 |
119 |
| prepare_settings() |
A |
48 |
15 |
31 |
| add_conditional_logic_rules() |
S |
56 |
5 |
17 |
| get_email_campaign() |
S |
63 |
4 |
11 |
| __construct() |
S |
62 |
4 |
10 |
| set_action_settings() |
S |
70 |
3 |
6 |
| set_trigger_settings() |
S |
70 |
3 |
6 |
| delete() |
S |
68 |
3 |
7 |
| get_edit_url() |
S |
60 |
2 |
14 |
| get_action_setting() |
S |
74 |
2 |
4 |
| get_action_settings() |
S |
74 |
2 |
4 |
| get_trigger_setting() |
S |
74 |
2 |
4 |
| get_trigger_settings() |
S |
74 |
2 |
4 |
| get_conditional_logic() |
S |
75 |
2 |
4 |
| set_delay() |
S |
74 |
2 |
4 |
| set_times_run() |
S |
74 |
2 |
4 |
| save() |
S |
69 |
2 |
7 |
| sanitize_trigger_settings() |
S |
63 |
2 |
10 |
| sanitize_action_settings() |
S |
63 |
2 |
10 |
| maybe_run() |
S |
66 |
2 |
7 |
| get_deprecated_rule() |
S |
80 |
1 |
3 |
| get_action_id() |
S |
79 |
1 |
3 |
| set_action_id() |
S |
76 |
1 |
4 |
| get_action() |
S |
80 |
1 |
3 |
| get_trigger_id() |
S |
79 |
1 |
3 |
| set_trigger_id() |
S |
76 |
1 |
4 |
| get_trigger() |
S |
80 |
1 |
3 |
| get_status() |
S |
79 |
1 |
3 |
| set_status() |
S |
79 |
1 |
3 |
| get_delay() |
S |
79 |
1 |
3 |
| get_times_run() |
S |
79 |
1 |
3 |
| get_created_at() |
S |
79 |
1 |
3 |
| set_created_at() |
S |
80 |
1 |
3 |
| get_updated_at() |
S |
79 |
1 |
3 |
| set_updated_at() |
S |
80 |
1 |
3 |